var net.zoneCache
31 uses
net (current package)
cgo_unix.go#L206: addr := IPAddr{IP: copyIP(sa.Addr[:]), Zone: zoneCache.name(int(sa.Scope_id))}
cgo_unix.go#L291: return cgoSockaddrInet6(ip6, zoneCache.index(zone)), _C_socklen_t(syscall.SizeofSockaddrInet6)
interface.go#L108: zoneCache.update(ift, false)
interface.go#L165: zoneCache.update(ift, false)
interface.go#L188: var zoneCache = ipv6ZoneCache{
interface.go#L225: updated := zoneCache.update(nil, false)
interface.go#L226: zoneCache.RLock()
interface.go#L227: name, ok := zoneCache.toName[index]
interface.go#L228: zoneCache.RUnlock()
interface.go#L230: zoneCache.update(nil, true)
interface.go#L231: zoneCache.RLock()
interface.go#L232: name, ok = zoneCache.toName[index]
interface.go#L233: zoneCache.RUnlock()
interface.go#L245: updated := zoneCache.update(nil, false)
interface.go#L246: zoneCache.RLock()
interface.go#L247: index, ok := zoneCache.toIndex[name]
interface.go#L248: zoneCache.RUnlock()
interface.go#L250: zoneCache.update(nil, true)
interface.go#L251: zoneCache.RLock()
interface.go#L252: index, ok = zoneCache.toIndex[name]
interface.go#L253: zoneCache.RUnlock()
iprawsock_posix.go#L19: return &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
iprawsock_posix.go#L55: addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
iprawsock_posix.go#L82: addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
ipsock_posix.go#L178: sa := syscall.SockaddrInet6{Port: port, ZoneId: uint32(zoneCache.index(zone))}
ipsock_posix.go#L229: ZoneId: uint32(zoneCache.index(addr.Zone())),
tcpsock_posix.go#L21: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
udpsock_posix.go#L20: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
udpsock_posix.go#L62: *addr = UDPAddr{IP: ip[:], Port: from.Port, Zone: zoneCache.name(int(from.ZoneId))}
udpsock_posix.go#L87: ip = netip.AddrFrom16(from.Addr).WithZone(zoneCache.name(int(from.ZoneId)))
udpsock_posix.go#L107: ip := netip.AddrFrom16(sa.Addr).WithZone(zoneCache.name(int(sa.ZoneId)))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |